package com.itheima.bank.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;


@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Trade implements Serializable {
    // 流水号 主键id
    private Integer id;
    //账号ID
    private String accountId;
    //操作类型   0:存款 1:取款 2:转账
    private String tradeType;
    //交易金额
    private Double tradeMoney;
    // 交易时间
    private Date tradeTime;
    // 交易描述
    private String tradeDigest;
}
